home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / misc / sci / AVL.lha / AVL / Install AVL < prev    next >
Encoding:
Text File  |  1999-08-16  |  1.5 KB  |  82 lines

  1. ; $VER: Installation script for AVL 1.00 (15. August 1999)
  2. ; © Stefan Robl
  3. ; Created with GoldED 6.1
  4.  
  5.  
  6. ; check if we are running under correct OS
  7. (if (< (/ (getversion) 65536) 39) 
  8.     (
  9.         (abort "Incorrect OS version (software requires OS 39 or better )!")
  10.     )
  11. )
  12.  
  13. ; error handling
  14. (onerror
  15.     (if (> @ioerr 0)
  16.         (
  17.             (message
  18.                 ("An error has occurred during installation. Please check the log file to understand the error.")
  19.             )
  20.         )
  21.     )
  22.     (exit (quiet))
  23. )
  24.  
  25.  
  26.  
  27. (welcome)
  28.  
  29.  
  30. (set @default-dest
  31.     (askdir
  32.         (prompt "Please choose the installation path for AVL:\n(a new folder named \"AVL\" will be created there)")
  33.         (help "Installation creates a new folder \"AVL\" in the path you specify.")
  34.         (default @default-dest)
  35.     )
  36. )
  37.  
  38.  
  39. (COMPLETE 0) ; makedir FrameMachine
  40. (makedir (tackon @default-dest "AVL") (infos))
  41.  
  42.  
  43. (COMPLETE 20) ; copy wizard.library
  44. (copylib 
  45.     (prompt "Copying wizard.library to LIBS:")
  46.     (help @copylib-help)
  47.     (source "libs/wizard.library")
  48.     (dest "LIBS:")
  49.     (confirm)
  50. )
  51.  
  52.  
  53. (COMPLETE 40)
  54. (copyfiles
  55.     (source "")
  56.     (dest (tackon @default-dest "AVL"))
  57.     (infos)
  58.     (pattern "AVL#?")
  59.     (optional "oknodelete" "force")
  60. )
  61.  
  62.  
  63. (COMPLETE 60)
  64. (makedir (tackon @default-dest "AVL/Landscapes") (infos))
  65.  
  66.  
  67. (COMPLETE 80)
  68. (copyfiles
  69.     (source "Landscapes/")
  70.     (dest (tackon @default-dest "AVL/Landscapes"))
  71.     (infos)
  72.     (pattern "#?.avl")
  73.     (optional "oknodelete" "force")
  74. )
  75.  
  76.  
  77. (COMPLETE 100)
  78.  
  79.  
  80. (exit)
  81.  
  82.